layui.use(["layer"],function () {
    var layer=layui.layer;
    $(".custom-btn-add").on("click",function () {
        layer.open({
            type: 2,
            title: '设置图标',
            shadeClose: true,
            shade: 0.2,
            maxmin: false, //开启最大化最小化按钮
            area: ['70%', '80%'],
            content: "/uc/icon/icon"
        });
    });
});
    